package com.es.disped.dao.model;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="登录用户")
public class LoginUser extends User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="角色集合")
    private List<RolePermission> userRoles;

    public List<RolePermission> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(List<RolePermission> userRoles) {
        this.userRoles = userRoles;
    }

    @Override
    public String toString() {
        return "LoginUser [userRoles=" + userRoles + "]";
    }

}